package com.kch.system.req;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

public class BusinessReq {

    /**
     * 标题/专家姓名
     */
    @NotBlank(message = "标题不能为空")
    private String title;

    /**
     * 产业分类/研究方向
     */
    @NotBlank(message = "产业类型不能为空")
    private String industry;

    /**
     * 价格类型 1.面谈 2.意向金额
     */
    //@NotBlank(message = "价格类型不能为空")
    private String priceType;

    /**
     * 意向金额
     */
    private BigDecimal price;

    /**
     * 封面图
     */
    private String img;

    /**
     * 发布对象/学校
     */
    private String release;

    /**
     * 相关岗位,学院
     */
    private String post;
    /**
     * 栏目编码
     */
    @NotBlank(message = "栏目编码不能为空")
    private String cloumnCode;

    /**
     * 文章内容
     */
    @NotBlank(message = "栏目编码不能为空")
    private String content;

    public @NotBlank(message = "标题不能为空") String getTitle() {
        return title;
    }

    public void setTitle(@NotBlank(message = "标题不能为空") String title) {
        this.title = title;
    }

    public @NotBlank(message = "产业类型不能为空") String getIndustry() {
        return industry;
    }

    public void setIndustry(@NotBlank(message = "产业类型不能为空") String industry) {
        this.industry = industry;
    }

    public  String getPriceType() {
        return priceType;
    }

    public void setPriceType(String priceType) {
        this.priceType = priceType;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getRelease() {
        return release;
    }

    public void setRelease(String release) {
        this.release = release;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public @NotBlank(message = "栏目编码不能为空") String getCloumnCode() {
        return cloumnCode;
    }

    public void setCloumnCode(@NotBlank(message = "栏目编码不能为空") String cloumnCode) {
        this.cloumnCode = cloumnCode;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
